﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentManagementSystem.Models
{
    public class Student
    {
        public int Id { get; set; }
        public int ClassName { get; set; }  // 关联到班级的ID
        public string Name { get; set; }
        public int Age { get; set; }
        public virtual Class Class { get; set; }  // 外键关系，指向班级
    }
}
